package csdj.t309.drive.service.impl;

import csdj.t309.drive.entity.DriverSchool;
import csdj.t309.drive.mapper.DriverSchoolMapper;
import csdj.t309.drive.service.DriverSchoolService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("driverSchoolService")
public class DriverSchoolServiceImpl implements DriverSchoolService {
    @Resource
    private DriverSchoolMapper driverSchoolMapper;
    @Override
    public List<DriverSchool> selectAll() {
        return driverSchoolMapper.selectAll();
    }

    @Override
    public List<DriverSchool> selectCityAreaId(int aid) {
        return driverSchoolMapper.selectCityAreaId(aid);
    }


}
